package cn.gson.springboot.model.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.alibaba.fastjson.JSONArray;

import cn.gson.springboot.model.pojos.MedicalCardPx;

@Mapper
public interface HospitalMapper {
	//出院登记并未结算的人
	public JSONArray findLeave2();
	
	public Integer findByMid(@Param("mid")Integer mid);
	
	//住院通知查询
	public JSONArray findByHnId(@Param("hnId")String hnid);
	
	//住院记录
	public JSONArray findHospital(@Param("hid")String hid);
	
	//患者信息
	public JSONArray findPatientDate(@Param("hid")Integer hid);
	
	//出院者信息
	public JSONArray findLeavePatient(@Param("hid")String hid,
										@Param("did")Integer did);
	
	//出院记录
	public JSONArray findLeave(@Param("hid")String hid);
	
}
